package com.tenc.feign.depart;

import com.tenc.pojo.ErrorJson;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

/**
 * @author Alan
 * @description 部门管理
 * @ClassName DepartService
 * @since 2021/7/20
 */
@Component
@FeignClient(name = "departService",url = "${wechat.company.url}")
public interface DepartService {

   ErrorJson create();

   ErrorJson update();

   ErrorJson delete();


}
